package com.gljr.exam.web.form;

public class RegisterForm {
	private String username;
	private String password;
	private String password2;
	private String realname;
	private boolean admin;

	public RegisterForm() {
		super();
	}

	public RegisterForm(String username, String password) {
		super();
		this.username = username;
		this.password = password;
	}

	// public RegisterForm(String username, String password, String password2,
	// boolean admin) {
	// super();
	// this.username = username;
	// this.password = password;
	// this.password2 = password2;
	// this.admin = admin;
	// }

	public RegisterForm(String username, String password, String realname, boolean admin) {
		super();
		this.username = username;
		this.password = password;
		this.realname = realname;
		this.admin = admin;
	}

	public String getPassword2() {
		return password2;
	}

	public void setPassword2(String password2) {
		this.password2 = password2;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public boolean isAdmin() {
		return admin;
	}

	public void setAdmin(boolean admin) {
		this.admin = admin;
	}

	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

}
